package com.baoyouqun.domain.cmd;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class RolePermissionCmd {
    @NotBlank(message = "角色ID不能为空")
    private String roleId;

    @NotNull(message = "权限ID列表不能为空")
    private List<String> permIds;
}
